package com.huo.qq.common;

/**
 * <p>Description: qq登录相关URL</p>
 * @author Huoyan
 * @version 1.0
 * <p>Copyright 2011</p>
 */

public interface GlobalURL {
	
	/**
	 * webqq登录
	 */
	//检测账号是否需要验证码登录http://check.ptlogin2.qq.com/check?uin=2232924183&appid=1003903&r=0.35115914519538516
	public static final String CHECK_ID_URL = "http://check.ptlogin2.qq.com/check?appid=1003903&r=0.35115914519538516&uin=";
	//获取验证码
	public static final String CHECK_IMAGE_URL = "http://captcha.qq.com/getimage?aid=1003903";
	//获取16进制QQ号字符串地址
	public static final String hexQQNumber = "http://check.ptlogin2.qq.com/check?appid=46000101&ptlang=2052&uin=";
	
	//登录URL
	public static final String LOGIN_URL = "http://ptlogin2.qq.com/login?";
	//refer
	public static final String REFER = "http://d.web2.qq.com/proxy.html";
	
	/**
	 * pengyou登录
	 * js_ver:发布版本号
	 */
	//appID应用ID
	public static final String APPID_FRIEND = "15004601";
	//获取安全参数=G_LOGIN_SIG_URL_FRIEND+appid(应用ID)
	public static final String G_LOGIN_SIG_URL_FRIEND = "http://ui.ptlogin2.pengyou.com/cgi-bin/login?qlogin_jumpname=&hide_title_bar=1&s_url=http://www.pengyou.com/index.php%3fmod%3Dlogin2%26act%3Dqqlogin&self_regurl=http://reg.pengyou.com/emailreg.html&css=http://imgcache.qq.com/ptcss/b2/pengyou/15000901/login_page.css";
	//获取16进制QQ号码和检测账号是否需要验证码登录 =CHECK_ID_URL_FRIEND+appid(应用ID)+r(随机值)+uin(十进制QQ号码)+login_sig(安全参数)  login_sig可能不需要
	public static final String CHECK_ID_URL_FRIEND = "http://check.ptlogin2.pengyou.com/check?js_ver=10023&js_type=0&u1=http%3A%2F%2Fwww.pengyou.com%2Findex.php%3Fmod%3Dlogin2%26act%3Dqqlogin";
	//获取验证码=CHECK_IMAGE_URL_FRIEND+r(随机值)+uin(十进制QQ号码)+aid(应用ID)
	public static final String CHECK_IMAGE_URL_FRIEND="http://captcha.pengyou.com/getimage?abc=1";
	//登录URL=LOGIN_URL_FRIEND+u(QQ号)+p(密码)+verifycode(验证码)+aid(应用ID)+login_sig(安全参数)
	public static final String LOGIN_URL_FRIEND="http://ptlogin2.pengyou.com/login?u1=http%3A%2F%2Fwww.pengyou.com%2Findex.php%3Fmod%3Dlogin2%26act%3Dqqlogin&h=1&ptredirect=1&ptlang=2052&from_ui=1&dumy=&fp=loginerroralert&action=2-21-8745&mibao_css=&t=1&g=1&js_type=0&js_ver=10023";
	
}
